package com.nwpu.coursesupport.view;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.nwpu.coursesupport.enumeration.LessonCreateType;
import com.nwpu.coursesupport.enumeration.LessonStatus;
import com.nwpu.coursesupport.enumeration.LessonType;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LessonView{
	
	private int courseId;
	private String courseCode;
	private String courseName;
	private int tid;
	private String tname;
	private String image;
	
	private int classId;
	private String className;
	
	
	private int id;
	private LessonType type;
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm")
    private Date beginDate;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="HH:mm")
    private Date endDate;
    private Integer timeClass;
    private Integer durationCourse;
    private String remark;
    private LessonStatus status;
    private String location;
    
    private LessonCreateType createType;
    
	public int getCourseId() {
		return courseId;
	}
	public void setCourseId(int courseId) {
		this.courseId = courseId;
	}
	public String getCourseCode() {
		return courseCode;
	}
	public void setCourseCode(String courseCode) {
		this.courseCode = courseCode;
	}
	public String getCourseName() {
		return courseName;
	}
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	public int getClassId() {
		return classId;
	}
	public void setClassId(int classId) {
		this.classId = classId;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public int getTid() {
		return tid;
	}
	public void setTid(int tid) {
		this.tid = tid;
	}
	public String getTname() {
		return tname;
	}
	public void setTname(String tname) {
		this.tname = tname;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public LessonType getType() {
		return type;
	}
	public void setType(LessonType type) {
		this.type = type;
	}
	public Date getBeginDate() {
		return beginDate;
	}
	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public Integer getTimeClass() {
		return timeClass;
	}
	public void setTimeClass(Integer timeClass) {
		this.timeClass = timeClass;
	}
	public Integer getDurationCourse() {
		return durationCourse;
	}
	public void setDurationCourse(Integer durationCourse) {
		this.durationCourse = durationCourse;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public LessonStatus getStatus() {
		return status;
	}
	public void setStatus(LessonStatus status) {
		this.status = status;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public LessonCreateType getCreateType() {
		return createType;
	}
	public void setCreateType(LessonCreateType createType) {
		this.createType = createType;
	}
	
}
